package com.jz.digital.utils;

import com.jz.digital.MyAppLocation;

import java.util.Locale;

/**
 * ================================================
 * Created: WangYong
 * Date: 2024/11/24
 * Description:
 * ================================================
 */
public class StringUtils {
    public static String getString(int id) {
        return MyAppLocation.mContext.getString(id);
    }

    public static String format(String format, Object... args) {
        try {
            return String.format(Locale.CHINA, format, args);
        } catch (Exception e) {
            return "";
        }

    }
}
